package com.wengu.algorithm.mapper;

import com.wengu.algorithm.dto.TaskAlg;
import com.wengu.algorithm.entity.TaskArrivalSpatialDistribution;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 任务到达时空分布子表 Mapper 接口
 * </p>
 *
 * @author wanghailei
 * @since 2025-02-09
 */
public interface TaskArrivalSpatialDistributionMapper extends BaseMapper<TaskArrivalSpatialDistribution> {

    List<TaskAlg> selectListByMainId(@Param("mainId") Long mainId);

    List<TaskAlg> selectListByMainIdAndDuration(@Param("mainId") Long mainId, @Param("arrivalTime") double arrivalTime);

}
